package com.xiaotian.common.response;

import lombok.Data;

import java.util.List;

@Data
public class QueryListResult<T> extends Result {

    /**
     * 返回的数据集
     */
    private List<T> data;

    public QueryListResult(ResultCode resultCode, List<T> data) {
        super(resultCode);
        this.data = data;
    }
}
